.menu {
    border-bottom: 1px solid #dfdfdf;
    display: flex;
    justify-content: space-between;
    padding: .5em .5em 1em .5em;
    margin-bottom: 2em;
    font-size: .9em;
    position: relative;
}

.menu .bookmark {
    position: absolute;
    left: 96%;
    top: 100%;
    font-size: 1.3em;
    color: #c9c9c9;
    cursor: pointer;
    border: none;
    outline: none;
}


.menu .appearance {
    display: flex;
}

.menu .pagination {
    display: flex;
    align-items: end;
}

.menu .pagination .page-entry input {
    background-color: #f9f9f9;
    color: #282828;
    padding: .5em;
    border-radius: 5px;
    outline: none;
    width: 4em;
    border-width: thin;
    height: 2em;
    border: 1px solid #282828;
}


.menu .pagination .page-entry .open-page {
    border: none;
    background-color: #ebebeb;
    padding: .5em;
    margin-right: 1em;
    border-radius: 5px;
    cursor: pointer;
    display: inline;
}

.menu .pagination .page-entry button i {
    color: #282828;
}

.menu .pagination .page-entry input:placeholder {
}

.menu .pagination a {
    text-decoration: none;
    margin-right: .4em;
    background-color: #ebebeb;
    color: #282828;
    padding: .5em;
    border-radius: 5px;
}

.menu .pagination a.current-page {
    background-color: #f9f9f9;
}

.menu .appearance>div {
    margin-right: .6em;
    padding: .5em;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.menu .appearance>div:not(.hide-sidebar) i:hover {
    background-color: #ededed;
}

.menu .appearance .hide-sidebar {
    background-color: #ebebeb;
}

.menu .appearance .hide-sidebar:hover {
    background-color: #e3e3e3;
    transition: background-color .2s ease-in;
}

.menu .appearance>div span {
    margin-right: 1em;
}

.menu .appearance div.font-size i {
    background-color: #ebebeb;
    border-radius: 5px;
    padding: 0.3em;
    font-size: .85em;
}


.menu .appearance>div i:nth-child(3) {
    margin: 0 .6em;
}

.menu .appearance>div:hover {
    cursor: pointer;
}

.menu .appearance div.background-color {
}

.menu .appearance div.background-color span:not(:first-child) {
    margin-right: .8em;
    border: 1px solid #282828;
    width: 1em;
    height: 1em;
    border-radius: 50%;
}

.menu .appearance div.background-color span.first-color {
    background-color: #f5f5f5;
}

.menu .appearance div.background-color span.second-color {
    background-color: #fff5d0;
}

.menu .appearance div.background-color span.third-color {
    background-color: #282828;
}

.book-designation {
    color: #c1c1c1;
    padding-left: 1em;
    margin-bottom: 1em;
    font-size: .9em;
}

.book-designation a {
    color: #c1c1c1;
}

.content-of-book {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 87%;
}

.content-of-book .move-page {
    width: 3em;
    display: flex;
    border-radius: 5px;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 4em;
    cursor: pointer;
}

.content-of-book .move-page[data-previous-page]::before {
    content: '';
    height: 8em;
    width: 1px;
    margin-right: 3.9em;
    background-color: #dfdfdf;
    position: absolute;
}

.content-of-book .move-page[data-next-page]::after {
    content: '';
    height: 8em;
    width: 1px;
    margin-right: -3.9em;
    background-color: #dfdfdf;
    position: absolute;
}

.content-of-book .move-page:hover {
    background: #f9f9f9;
    transition: background .3s ease-in-out;
}

.content-of-book i {
    color: #ddd;
}

.text {
    white-space: pre-line;
    text-align: left;
    letter-spacing: .04em;
    word-spacing: 0.2em;
    line-height: 1.2em;
    display: flex;
    justify-content: center;
    font-size: 1.2em;
}

.current-page {
    text-align: end;
    margin-top: 1em;
}

@keyframes hide-menu-to-left {
    0% {
        transform: translateX(0em);
        opacity: 1;
    }

    100% {
        transform: translateX(-18em);
        opacity: 0;
    }
}

@keyframes move-content-to-right {
    0% {
        transform: translateX(0em);
    }

    100% {
        transform: translateX(8em);
    }
}

.color-active-bookmark {
    color: #f999ff;
}

.color-inactive-bookmark {
    color: #c9c9c9;
}

.color-active-favorites {
    font-size: .8em;
    color: #f5dc65;
}

.color-inactive-favorites {
    font-size: .8em;
    color: #c1c1c1;
}